//
//  GSCommonLoginNavigationController.m
//  GSLoginDemo
//
//  Created by guoshikeji_a on 2018/7/27.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import "GSCommonLoginNavigationController.h"

#import "UILabel+GSCommonLabel.h"

@interface GSCommonLoginNavigationController ()

@end

@implementation GSCommonLoginNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    //
    UILabel *label = [UILabel safeAlertLabel];
    [self.view addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.mas_equalTo(self.view);
        make.width.mas_equalTo(self.view).offset(-30.0);
        if (@available(iOS 11.0,*)) {
            make.bottom.mas_equalTo(self.view.mas_safeAreaLayoutGuideBottom).offset(-15.0);
        }else {
            make.bottom.mas_equalTo(self.view).offset(-15.0);
        }
    }];
    //
}
- (UIStatusBarStyle)preferredStatusBarStyle {
    return UIStatusBarStyleDefault;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc {
    
}

@end
